﻿<Window x:Class="ContentFactory.CreateCustomDataDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="{DynamicResource CreateCustomDataDialog_Title}" Height="480" Width="600">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Label Content="{DynamicResource CreateCustomDataDialog_Label}"/>
        <ListView Name="listView" Margin="6,0" Grid.Row="1">
            <ListView.View>
                <GridView>
                    <GridViewColumn Header="{DynamicResource CreateCustomDataDialog_ListView_Column_Type}" DisplayMemberBinding="{Binding }" Width="240"/>
                    <GridViewColumn Header="{DynamicResource CreateCustomDataDialog_ListView_Column_Assembly}" DisplayMemberBinding="{Binding Assembly.FullName}" Width="280"/>
                </GridView>
            </ListView.View>
        </ListView>
        <StackPanel HorizontalAlignment="Right" Orientation="Horizontal" Margin="6" Grid.Row="2">
            <Button Content="{DynamicResource CreateCustomDataDialog_Button_Accept}" IsDefault="True" Padding="24,2" Margin="6" Click="Button_Click"/>
            <Button Content="{DynamicResource CreateCustomDataDialog_Button_Cancel}" IsCancel="True" Padding="24,2" Margin="6"/>
        </StackPanel>
    </Grid>
</Window>
